package cn.stylefeng.guns.modular.gridsystem.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * biz_collection_model
 *
 * @author zxw
 * @date 2022/11/01 15:32
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@TableName("biz_collection_model")
public class CollectionModel extends BaseEntity {

    /**
     * 主键
     */
    @TableId("id")
    private Long id;

    /**
     * 网关ID
     */
    @TableField("gateway_id")
    private Integer gatewayId;

    /**
     * 故障名称
     */
    @TableField("faultName")
    private String faultName;

    /**
     * 故障等级
     */
    @TableField("failureLevel")
    private String failureLevel;

    /**
     * 期望ID编号
     */
    @TableField("expect_access_token")
    private String expectAccessToken;

    /**
     * 期望分组
     */
    @TableField("expect_group_id")
    private String expectGroupId;

    /**
     * 文件ID
     */
    @TableField("file_id")
    private Long fileId;

}
